﻿{% load filter %}
{% extends '1base.html' %}
{% block title %}
<title>Wow Dkp Engine</title>
<meta name="Keywords" content="wow,dkp"/>
<meta name="description" content="A wow dkp system" />
<script>
  $(document).ready(function(){
	$(".datalist TBODY TR").mouseover(function(){
	  $('TD',this).css("background-color","#32b16c");
	}).mouseout(function(){
	  $('TD',this).css("background-color","#b5edbc");
	}).click(function(){
	  var gourl = $('TD A',this).attr("href");
	  window.location.href=gourl;
	  return false;
	});
  });
</script>
{% endblock %}
{% block headline %}
{% endblock %}
{% block secondmenu %}
{% include 'second_menu.html'%}
{% endblock %}
{% block content %}
<table class="datalist" cellspacing="0" style="border-collapse:collapse">
<thead>
	<tr>
		<th>{{ multi_language.ca_number }}</th>
		<th>{{ multi_language.ca_title }}</th>
		<th>{{ multi_language.ca_author }}</th>
		<th>{{ multi_language.ca_date }}</th>
		<th>{{ multi_language.ca_members }}</th>
	</tr>
</thead>
<tbody>
	{% for event in events %}
	<tr>
		<td>{{ forloop.counter }}</td>
		<td><a href="/pub/events/{{event.key.id}}" title="event">{{ event.title }}</a></td>
		<td>{{ event.author }}</td>
		<td>{{ event.post_on|timezone:8|date:"Y-m-d H:i:s"}}</td>
		<td><b>{{ event.event_members_num }}</b></td>
	</tr>
	{% endfor %}
</tbody>
</table>
{% endblock%}
{% block siderbar %}
{% include 'forumSiderbar.html' %}
{% endblock%}